package com.xing.utils;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @Author <a href="https://gitee.com/a-tom-is-cry">Xing</a>
 * @Date 2024/8/4 14:32
 * @Description
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Account {
    private String id;
    // 解决ES中字段与实体类字段不一致的问题
    @JsonProperty("account_number")
    private Long accountNumber;
    private String address;
    private Integer age;
    private Long balance;
    private String city;
    private String email;
    private String employer;
    private String name;
    private String lastname;
    private String gender;
    private String state;
}

